home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 418_02 / rasmol2 / makefile.pc < prev    next >
Encoding:
Makefile  |  1994-03-02  |  1.8 KB  |  79 lines

  1. CC   = CL /nologo /AM /J /W3
  2. LD   = LINK /NOD /NOE
  3.  
  4. DEBUG = 0
  5.  
  6. !if $(DEBUG)
  7. CFLAGS = /Zi /Od
  8. LFLAGS = /CO /LI /MAP
  9. !else
  10. .SILENT:
  11.  
  12. CFLAGS = /G2Asr /Ogiloab2
  13. LFLAGS =
  14. !endif
  15.  
  16. # 80x87 Present:  /FPi87  MLIBC7W
  17. # 80x87 Detect:   /FPi    MLIBCEW
  18. # 80x87 Absent:   /FPa    MLIBCAW
  19.  
  20. LIBS   = LIBW MLIBCEW COMMDLG
  21.  
  22. OBJS   = raswin.obj molecule.obj command.obj abstree.obj transfor.obj \
  23.          render.obj pixutils.obj mswin31.obj outfile.obj
  24.  
  25.  
  26. goal:        raswin.exe
  27.  
  28. raswin.exe:    $(OBJS) raswin.def raswin.res
  29.         $(LD) $(LFLAGS) @<<
  30.             $(OBJS),
  31.             raswin.exe,
  32.             raswin.map,
  33.             $(LIBS),
  34.             raswin.def
  35. << 
  36.         $(RC) /TK raswin.res
  37. !if $(DEBUG)
  38.         MAPSYM raswin.map
  39. !endif
  40.  
  41.  
  42. raswin.obj:    raswin.c rasmol.h raswin.idm molecule.h command.h \
  43.         abstree.h transfor.h render.h pixutils.h graphics.h \
  44.         outfile.h
  45.         $(CC) /c $(CFLAGS) raswin.c
  46.  
  47. molecule.obj:    molecule.c molecule.h rasmol.h abstree.h command.h \
  48.         transfor.h render.h
  49.         $(CC) /c $(CFLAGS) molecule.c
  50.  
  51. transfor.obj:    transfor.c transfor.h rasmol.h molecule.h command.h \
  52.         render.h graphics.h
  53.         $(CC) /c $(CFLAGS) transfor.c
  54.  
  55. command.obj:    command.c command.h rasmol.h tokens.h abstree.h \
  56.         molecule.h transfor.h render.h graphics.h pixutils.h \
  57.         outfile.h
  58.         $(CC) /c $(CFLAGS) command.c
  59.  
  60. abstree.obj:    abstree.c abstree.h rasmol.h molecule.h
  61.         $(CC) /c $(CFLAGS) abstree.c
  62.  
  63. render.obj:     render.c render.h rasmol.h molecule.h transfor.h \
  64.         command.h graphics.h pixutils.h
  65.         $(CC) /c $(CFLAGS) render.c
  66.  
  67. mswin31.obj:    mswin31.c graphics.h rasmol.h render.h
  68.         $(CC) /c $(CFLAGS) mswin31.c
  69.  
  70. pixutils.obj:   pixutils.c pixutils.h rasmol.h render.h graphics.h
  71.         $(CC) /c $(CFLAGS) pixutils.c
  72.  
  73. outfile.obj:    outfile.c outfile.h rasmol.h command.h transfor.h \
  74.         render.h graphics.h pixutils.h
  75.         $(CC) /c $(CFLAGS) outfile.c
  76.  
  77. raswin.res:    raswin.rc raswin.idm
  78.         $(RC) /r raswin.rc
  79.